package com.example.blew.demo.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * <p>
 * TODO
 * </p>
 *
 * @author chaodong.zeng@pcitc.com
 * @since 2022/8/18
 */
@TableName("user")
@Data
public class User {

    @TableId(type = IdType.ASSIGN_ID)
    private int id;

    private String userName;

    private String password;

    private String mobile;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private char status;

    private String name;

    @TableField(value = "nick_name")
    private String nickName;

    public User(int id){
        this.id=id;
    }

    public User(){

    }



}